Skip to content

Conversation

@elizabeth-ilina
Copy link
Contributor

@elizabeth-ilina elizabeth-ilina commented Jan 7, 2026

Because

  • We need a cancel interstitial offer page as part of the churn intervention epic.

This pull request

  • Creates /[locale]/subscriptions/[subscription_id]/offer page

Issue that this pull request solves

Closes: #PAY-3371

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.
image

image

Other information (Optional)

Any other information that is important to this pull request.

@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3371-create-page-interstitial-offer branch 17 times, most recently from 8bf0325 to fb7e902 Compare January 14, 2026 16:34
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3371-create-page-interstitial-offer branch 10 times, most recently from ec5a467 to b54e666 Compare January 14, 2026 20:44
reason: 'eligible',
cmsCancelInterstitialOfferResult,
};
//*/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will remove the changes made to this file after done testing.

@elizabeth-ilina elizabeth-ilina marked this pull request as ready for review January 14, 2026 22:15
@elizabeth-ilina elizabeth-ilina requested a review from a team as a code owner January 14, 2026 22:15
@elizabeth-ilina elizabeth-ilina requested a review from a team as a code owner January 14, 2026 22:15
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3371-create-page-interstitial-offer branch 4 times, most recently from 51b2ee2 to 15ba109 Compare January 15, 2026 18:05
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3371-create-page-interstitial-offer branch 2 times, most recently from e898c7d to 35baab7 Compare January 21, 2026 20:57
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3371-create-page-interstitial-offer branch 2 times, most recently from 5016935 to 4fb6ac4 Compare January 22, 2026 19:25
Because:

* We need a cancel interstitial offer page as part of the churn intervention epic.

This commit:

* Creates /[locale]/subscriptions/[subscription_id]/offer page

Closes #PAY-3371
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3371-create-page-interstitial-offer branch from 4fb6ac4 to c162981 Compare January 22, 2026 19:52
locale
);
} catch (error) {
redirect(`/${locale}/subscriptions/${subscriptionId}/cancel`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/${locale}/subscriptions/${subscriptionId}/offer/error

}

if (!interstitialOfferContent.isEligible || !interstitialOfferContent.pageContent) {
redirect(`/${locale}/subscriptions/${subscriptionId}/offer/error`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/${locale}/subscriptions/${subscriptionId}/offer/error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants